package com.sky.dto;

import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderReportAggrDTO implements Serializable {

    //下单时间
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private LocalDate orderTime;

    //订单状态
    private Integer status;

}
